package com.smedi.ismedi.inmail.api.dto.response;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.NoArgsConstructor;

/**
 * 通知公告基础信息
 *
 * @author jiangqinxuan
 * &#064;date  2021/07/26
 */
@Data
@AllArgsConstructor
@NoArgsConstructor
@EqualsAndHashCode(callSuper = false)
@ApiModel(value = "人员")
public class PersonResponse {
    /**
     * id
     */
    @ApiModelProperty(value = "id")
    protected Long id;
    /**
     * 姓名
     */
    @ApiModelProperty(value = "姓名")
    protected String name;
    /**
     * 是否内部
     */
    @ApiModelProperty(value = "是否内部")
    protected Boolean internal;
    /**
     * 单位
     */
    @ApiModelProperty(value = "单位")
    protected OrganizationResponse organization;

    public PersonResponse(Long id){
        this.id = id;
    }
}